package httpclient;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import domain.User;

@RestController
@RequestMapping("/usr")
public class JSONController {
	
	public User get(){
		User user = new User();
		user.setId(1);
		user.setName("OK");
		return user;
	}
}
